import {
    get
} from 'zbee-module' ;

export default (buttons = [] , params) => buttons.map(button => ({
    widget:get('hb-component-element-basic-button').default,
    ...button
})) ;